﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class FollowPlayer : MonoBehaviour {

    public Transform Target;

    private Vector3 Offset = new Vector3(0, 5.7f, -7.8f);

    // Use this for initialization
    void Start() {
        //offset = transform.position - target.position;
        //print(offset);
    }

    // Update is called once per frame
    void Update() {
        transform.position = this.Target.position + this.Offset;
    }

    private void LateUpdate() {
        //transform.position = target.position + offset;
    }
}
